package com.shigen.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shigen.demo.entity.ProjectData;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ProjectDataMapper extends BaseMapper<ProjectData> {
    @Select("select * from project_data where proj_id = #{id}")
    List<ProjectData> getProject(String id);
}
